package com.ruoyi.common.core.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 候选人信息对象 oa_candidate_info
 * 
 * @author ruoyi
 * @date 2021-01-29
 */
public class OaCandidateInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 响应编码 */
    @Excel(name = "响应编码")
    private String code;

    /** 响应信息 */
    @Excel(name = "响应信息")
    private String message;

    /** 流程编号 */
    @Excel(name = "流程编号")
    private String processCode;

    /** 姓名 */
    @Excel(name = "姓名")
    private String candidateName;

    /** 性别（1男 2女 ） */
    @Excel(name = "性别", readConverterExp = "1=男,2=女")
    private String sex;

    /** 学校 */
    @Excel(name = "学校")
    private String school;

    /** 专业 */
    @Excel(name = "专业")
    private String profession;

    /** 毕业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "毕业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date graduateDate;

    /** 可入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "可入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryDate;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String personWork;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String pravidorName;

    /** 合同性质 */
    @Excel(name = "合同性质")
    private String contractNature;

    /** 是否离职 Y N */
    @Excel(name = "是否离职 Y N")
    private String isLeave;

    /** 报价 */
    @Excel(name = "报价")
    private BigDecimal price;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 简历名称 */
    @Excel(name = "简历名称")
    private String pathName;

    @Excel(name = "学历")
    private String  eduBackground;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setProcessCode(String processCode) 
    {
        this.processCode = processCode;
    }

    public String getProcessCode() 
    {
        return processCode;
    }
    public void setCandidateName(String candidateName) 
    {
        this.candidateName = candidateName;
    }

    public String getCandidateName() 
    {
        return candidateName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }
    public void setProfession(String profession) 
    {
        this.profession = profession;
    }

    public String getProfession() 
    {
        return profession;
    }
    public void setGraduateDate(Date graduateDate) 
    {
        this.graduateDate = graduateDate;
    }

    public Date getGraduateDate() 
    {
        return graduateDate;
    }
    public void setEntryDate(Date entryDate) 
    {
        this.entryDate = entryDate;
    }

    public Date getEntryDate() 
    {
        return entryDate;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPersonWork(String personWork) 
    {
        this.personWork = personWork;
    }

    public String getPersonWork() 
    {
        return personWork;
    }
    public void setPravidorName(String pravidorName) 
    {
        this.pravidorName = pravidorName;
    }

    public String getPravidorName() 
    {
        return pravidorName;
    }
    public void setContractNature(String contractNature) 
    {
        this.contractNature = contractNature;
    }

    public String getContractNature() 
    {
        return contractNature;
    }
    public void setIsLeave(String isLeave) 
    {
        this.isLeave = isLeave;
    }

    public String getIsLeave() 
    {
        return isLeave;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setPathName(String pathName) 
    {
        this.pathName = pathName;
    }

    public String getPathName() 
    {
        return pathName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("message", getMessage())
            .append("processCode", getProcessCode())
            .append("candidateName", getCandidateName())
            .append("sex", getSex())
            .append("school", getSchool())
            .append("profession", getProfession())
            .append("graduateDate", getGraduateDate())
            .append("entryDate", getEntryDate())
            .append("idCard", getIdCard())
            .append("phone", getPhone())
            .append("personWork", getPersonWork())
            .append("pravidorName", getPravidorName())
            .append("contractNature", getContractNature())
            .append("isLeave", getIsLeave())
            .append("price", getPrice())
            .append("fileName", getFileName())
            .append("pathName", getPathName())
            .append("remark", getRemark())
            .toString();
    }

    public String getEduBackground() {
        return eduBackground;
    }

    public void setEduBackground(String eduBackground) {
        this.eduBackground = eduBackground;
    }
}
